<?php
    /**
     * Created by PhpStorm.
     * User: mybook-lhp
     * Date: 18/9/19
     * Time: 下午4:11
     */

    namespace app\member\api;


    use app\common\controller\API;

    /**
     * 客户列表
     * Class Support
     *
     * @package app\member\api
     */
    class Support extends API
    {

        /**
         * 客服列表
         * api post /member/support/lists
         *
         * @throws \think\db\exception\DataNotFoundException
         * @throws \think\db\exception\ModelNotFoundException
         * @throws \think\exception\DbException
         */
        public function lists()
        {

            $data[0]['name'] = '山水居水哥';

            $data[0]['avatar'] = 'http://timeappthree.ssjtime.cn/77adef5140f50730ad52de35116fe996.jpeg?v=953624';
            $data[0]['wx_account'] = 'ssjssj333333';

            $data[0]['phone']      = '028-61453844';

            $this->result($data);

        }

    }